package com.globalresources.po;

/**
 * Menu entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Menu implements java.io.Serializable {

	// Fields

	private Integer id;
	private Groups groups;
	private Authority authority;
	private String name;
	private String path;
	private String remark;
	private String icon;
	private Integer sequence;
	private Byte isRoot;

	// Constructors

	/** default constructor */
	public Menu() {
	}

	/** minimal constructor */
	public Menu(Integer id, Groups groups, Authority authority, String name,
			String path, String remark) {
		this.id = id;
		this.groups = groups;
		this.authority = authority;
		this.name = name;
		this.path = path;
		this.remark = remark;
	}

	/** full constructor */
	public Menu(Integer id, Groups groups, Authority authority, String name,
			String path, String remark, String icon, Integer sequence,
			Byte isRoot) {
		this.id = id;
		this.groups = groups;
		this.authority = authority;
		this.name = name;
		this.path = path;
		this.remark = remark;
		this.icon = icon;
		this.sequence = sequence;
		this.isRoot = isRoot;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Groups getGroups() {
		return this.groups;
	}

	public void setGroups(Groups groups) {
		this.groups = groups;
	}

	public Authority getAuthority() {
		return this.authority;
	}

	public void setAuthority(Authority authority) {
		this.authority = authority;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getSequence() {
		return this.sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Byte getIsRoot() {
		return this.isRoot;
	}

	public void setIsRoot(Byte isRoot) {
		this.isRoot = isRoot;
	}

}